#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	char ch = 0;
	ch = getchar();
	int m = 0;
	for (m = 1; m <= 5; m++)
	{
		int n = 1;
		for (n = 1; n <= 5 - m; n++)
		{
			printf(" ");
		}
		for (n = 1; n <= m; n++)
		{
			printf("%c ", ch);
		}
		printf("\n");
	}
	return 0;
}